package com.situ.blog.dao;

import com.situ.blog.pojo.entity.BlogType;
import com.situ.blog.pojo.query.BlogTypeQuery;

import java.util.List;

public interface IBlogTypeDao {
    List<BlogType> selectByPage(BlogTypeQuery blogTypeQuery);

    int selectTotalCount(BlogTypeQuery blogTypeQuery);

    void deleteById(int id);

    void add(BlogType blogType);

    BlogType seleteById(int id);

    void update(BlogType blogType);

    List<BlogType> selectAll();
}
